Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building out two new rounding methods as is discussed in #227 #240

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

notbenh
Copy link
Contributor

@notbenh notbenh commented Mar 19, 2013

done as two methods as I suggested. Currently round_to_precision modifies users input with out notification. Is this an issue that should be addressed (ie warn) or is there ever a case where one would expect 1.2345->round_to_precision(-0.234) to actually do something useful?

@schwern
Copy link
Contributor

schwern commented Mar 20, 2013

Woo! Issues being patched!

I don't know what a negative precision means, so its probably a mistake. I'd say make it an exception.

Also before this can be accepted it needs documentation. It should go along with the other round documentation in lib/perl5i.pm.

@notbenh
Copy link
Contributor Author

notbenh commented Mar 20, 2013

Ya I knew these were not merge ready yet more the request for feedback first thing. But with that out of the way... you has new changes to review.

@schwern
Copy link
Contributor

schwern commented Jun 10, 2013

Ping?

@notbenh
Copy link
Contributor Author

notbenh commented Jul 12, 2013

appears to be fixed on my box but seeing as it looks like I borked the rebase to catch up others should really review this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants